﻿using System.Collections.Generic;
using Shuba.Model;
using System;

namespace Shuba.Business
{
    public class Prospect
    {
        private Data.Prospect _Prospect;

        public Prospect()
        {
            _Prospect = new Data.Prospect();
        }

        public List<Shuba.Model.ProspectInfo> GetListApproveUM(string VALUE, string NIP)
        {
            return _Prospect.GetListApproveUM(VALUE, NIP);
        }

        public List<ProspectInfo> GetListApproveUMAPaging(string VALUE, string NIP, int currPage, int dataPerPage)
        {
            return _Prospect.GetListApproveUMAPaging(VALUE, NIP, currPage, dataPerPage);
        }

        public int GetRowNumberApproveUM(string VALUE, string NIP)
        {
            return _Prospect.GetRowNumberApproveUM(VALUE, NIP);
        }

        public ProspectInfo GetApproveUM(string PROSPECT_ID)
        {
            return _Prospect.GetApproveUM(PROSPECT_ID);
        }

        public void SaveProspect(ProspectInfo ProspectInf)
        {
            _Prospect.SaveProspect(ProspectInf);
        }

        public int SaveProspect2(ProspectInfo ProspectInf)
        {
            return _Prospect.SaveProspect2(ProspectInf);
        }

        public void SaveProspectAddress(ProspectAddressInfo ProspectAddressInf)
        {
            _Prospect.SaveProspectAddress(ProspectAddressInf);
        }

        public int SaveProspectAddress2(ProspectAddressInfo TBL_PROSPECT_ADDRESS_TMP)
        {
            return _Prospect.SaveProspectAddress2(TBL_PROSPECT_ADDRESS_TMP);
        }

        public void SaveProspectBankHistory(ProspectBankHistoryInfo ProspectBankHistoryInf)
        {
            _Prospect.SaveProspectBankHistory(ProspectBankHistoryInf);
        }

        public int SaveProspectBankHistory2(ProspectBankHistoryInfo ProspectBankHistoryInf)
        {
            return _Prospect.SaveProspectBankHistory2(ProspectBankHistoryInf);
        }

        public void SaveProspectDocument(ProspectDocumentInfo ProspectDocumentInf)
        {
            _Prospect.SaveProspectDocument(ProspectDocumentInf);
        }

        public int SaveProspectDocument2(ProspectDocumentInfo ProspectDocumentInf)
        {
            return _Prospect.SaveProspectDocument2(ProspectDocumentInf);
        }

        public void SaveProspectEmgContact(ProspectEmgContactInfo ProspectEmgContactInf)
        {
            _Prospect.SaveProspectEmgContact(ProspectEmgContactInf);
        }

        public int SaveProspectEmgContact2(ProspectEmgContactInfo ProspectEmgContactInf)
        {
            return _Prospect.SaveProspectEmgContact2(ProspectEmgContactInf);
        }

        public void SaveProspectVisit(ProspectVisitInfo ProspectVisitInf)
        {
            _Prospect.SaveProspectVisit(ProspectVisitInf);
        }

        public int SaveProspectVisit2(ProspectVisitInfo ProspectVisitInf)
        {
            return _Prospect.SaveProspectVisit2(ProspectVisitInf);
        }

        public void SaveProspectRefferal(ProspectRefferalInfo ProspectRefferalInf)
        {
            _Prospect.SaveProspectRefferal(ProspectRefferalInf);
        }

        public int SaveProspectRefferal2(ProspectRefferalInfo TBL_PROSPECT_REFFERAL)
        {
            return _Prospect.SaveProspectRefferal2(TBL_PROSPECT_REFFERAL);
        }

        public int UpdateKeputusanUM(ProspectInfo Info)
        {
            return _Prospect.UpdateKeputusanUM(Info);
        }

        public List<DedupResultInfo> GetDedupResult(string PROSPECT_ID, Int16 NO_OF_REQUEST)
        {
            return _Prospect.GetDedupResult(PROSPECT_ID, NO_OF_REQUEST);
        }

        public DateTime GetDateDedupResult(string PROSPECT_ID)
        {
            return _Prospect.GetDateDedupResult(PROSPECT_ID);
        }

        public Int16 GetRequestDedupKe(string PROSPECT_ID)
        {
            return _Prospect.GetRequestDedupKe(PROSPECT_ID);
        }

        public int RequestDedup(string PROSPECT_ID)
        {
            return _Prospect.RequestDedup(PROSPECT_ID);
        }

        public bool IsHasRequest(string PROSPECT_ID)
        {
            return _Prospect.IsHasRequest(PROSPECT_ID);
        }
    }
}